using System;
using BaseService.BaseData.MenuManagement.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace BaseService
{
    public interface IMenuAppService : IApplicationService
    {
        Task<PagedResultDto<MenuDto>> GetAll(GetMenuInputDto input);

        Task<ListResultDto<MenuDto>> LoadAll(Guid? id, string filter);

        Task<ListResultDto<MenuDto>> LoadAllNodes();

        Task<MenuDto> Get(Guid id);

        Task<MenuDto> Create(CreateUpdateMenuDto input);

        Task<MenuDto> Update(Guid id, CreateUpdateMenuDto input);

        Task Delete(List<Guid> ids);

    }
}